package abcy.cloud.authenticationserver.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "access token添加请求类")
public class OauthAccessTokenAddReq {

    @ApiModelProperty(name = "创建时间")
    private String createDate;

    @ApiModelProperty(name = "登录时间")
    private String loginTime;

    @ApiModelProperty(name = "认证对象id")
    private String authenticationId;

    @ApiModelProperty(name = "用户名")
    private String userName;

    @ApiModelProperty(name = "客户端id")
    private String clientId;

    @ApiModelProperty(name = "认证对象")
    private String authentication;

    @ApiModelProperty(name = "token_id")
    private String tokenId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column oauth_access_token.token
     *
     * @mbggenerated
     */
    @ApiModelProperty(name = "token")
    private String token;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column oauth_access_token.refresh_token
     *
     * @mbggenerated
     */
    @ApiModelProperty(name = "refresh token")
    private String refreshToken;
}
